﻿using System;

namespace HigLabo.Net.WindowsLive
{
    /// <summary>
    /// 
    /// </summary>
    public class GetUserCommand : WindowsLiveCommand
    {
        /// <summary>
        /// 
        /// </summary>
        public override string GraphApiPath
        {
            get
            {
                if (String.IsNullOrEmpty(this.UserID) == true) { return "me"; }
                return this.UserID;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public String UserID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userID"></param>
        public GetUserCommand(String userID)
        {
            this.UserID = userID;
        }
    }
}
